#!/usr/bin/python
# -*- coding: utf-8 -*-
##################### my_abs ###########################
#def my_abs(x):
#	if not isinstance(x, (int, float)):
#		raise TypeError('bad operand type')
#    	if x >= 0:
#        	return x
#    	else:
#        	return -x
#print(my_abs(-100))
#################### calc ###########################
def calc(*number):
	sum = 0
	for n in number:
		sum = sum + n * n
	return sum
print(calc(1, 2, 3))
num = []
print(calc(*num))
